package cn.com.api.mapper;


import java.util.List;
import java.util.Map;

import cn.com.api.entity.ApiU_coupon_detail;
import cn.com.api.mapper.base.U_coupon_detailMapperBase;

//DAO
public interface ApiU_coupon_detailMapper extends U_coupon_detailMapperBase {

 	//新增对象后返回记录ID
    public int U_coupon_detailInsertion(ApiU_coupon_detail u_coupon_detail);
    
    //获取优惠券使用数量
	public int findU_coupon_details_NumByCondition(Map<String, Object> param);

	//根据条件返回数据集
	public List<Map<String, Object>> findU_coupon_detailsByCondition(
			Map<String, Object> condition);
	
	//使用优惠券数量
	public int findU_coupon_usenum(Map<String, Object> param);
	
	//优惠券总数量
	public int findU_coupon_allnum(Map<String, Object> param);
	
	//优惠金额列表
	public List<Map<String, Object>> findU_coupon_amountByCondition(
			Map<String, Object> param);
	
    
}


